package com.google.code.sip.ucenter.dao.hibernate;

import com.google.code.sip.core.dao.hibernate.GenericHibernateDao;
import com.google.code.sip.ucenter.dao.AccountDao;
import com.google.code.sip.ucenter.model.Account;
import com.google.code.sip.ucenter.model.User;

public class AccountDaoImpl extends GenericHibernateDao<Account, String>
		implements AccountDao {

	@Override
	public Account getByUser(User user) {
		return findUniqueByProperty("user", user);
	}

	@Override
	public void clear() {

	}

}
